package com.robot.orders.handler;

import com.robot.orders.pojo.vo.OrdersRequestModel;
import com.robot.orders.pojo.vo.Payment;

import java.util.HashMap;

/**
 * @author wuyunbin
 */
public abstract class AbstractHandler {

    /**
     * handler
     * @param payment
     * @param ordersRequestModel
     * @return
     * @throws Exception
     */
    abstract public HashMap<String,String> handle(Payment payment , OrdersRequestModel ordersRequestModel) throws Exception;

}
